import request from '@/utils/request'

export default {
    login(form) {
        return request({
            url:"/user/login",
            method:"post",
            data:form
        })
    },
    logout(token) {
        return request({
            url:`/user/logout?token=${token}`,
            method:"get",
        })
    },
}
